public class DrawShape {
    public static void main(String[] args) {

        Shape[]shapes = {new Rect(),new Cycle(),new Flower()};
        for (Shape shape: shapes){
            shape.draw();
        }
    }
}
